<!DOCTYPE html>
<%@page session="false" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
	<head>
		<title>文章管理</title>
		<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
		<meta name="description" content="文章管理">
		<meta name="keyword" content="文章,管理,文章管理">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<link rel="stylesheet" type="text/css" href="<%=basePath%>resources/css/icon.css"/>
		<link rel="stylesheet" type="text/css" href="<%=basePath%>resources/css/admin.css"/>
		<link rel="stylesheet" type="text/css" href="<%=basePath%>resources/css/mgr-article.css"/>
		<link rel="stylesheet" type="text/css" href="<%=basePath%>resources/css/pager.css"/>
		<script type="text/javascript">
			var basepath = "<%=basePath%>";
		</script>
		<script type="text/javascript" src="<%=basePath%>resources/script/js/tools/load.js"></script>
		<script type="text/javascript">
			script.map(["resources/script/js/tools/ajax.js","resources/script/js/tools/vo.js",
			            "resources/script/js/manager/mgr-article.js"]);
			script.define(0);
			script.define(1);
			script.define(2,[0,1]);
			script.load(0);
			script.load(1);
		</script>
	</head>
	<body>
		<div class="body-content">
			<div class="head opacity">
				<div class="wind" style="display:none;">
					<span class="warn"></span>
				</div>
			</div>
			<div class="ad-tags">
				<div class="tags-title">功能列表</div>
				<a class="menu on" href="<%=basePath%>admin/article">文章管理</a>
				<a class="menu" href="javascript:void(0);">日志管理</a>
				<a class="menu" href="javascript:void(0);">分类管理</a>
			</div>
			<div class="ad-content">
				<div class="manager_body" >
					<div class="div-left" id="manager">
						<div class="top-name">
							<span class="name">文章列表</span>
							<a class="info">(注:对已发布文章的编辑要先取消发布)</a>
							<div class="button" style="margin-left:350px;background:#00DD00" vo-m="click:cly">[+]新建文章</div>
							<div class="div-cly" style="display:none">
								<div class="top-name" style="height:34px;">
									<span>请选择类别</span>
								</div>
								<div class="cly-content" name="classify" vo-m="click:newOne">
								</div>
							</div>
						</div>
						<div class="div-content" name="content" vo-m="click:check;click:edit;click:status">
						</div>
						<!-- 分类器 -->
						<div class="pager">
							<div class="pagination"  style="margin-right:50px;">
								<a vo-m="click:locate" idx="1">«</a>
								<a vo-m="click:back">‹</a>
								<span name="page"></span>
								<a vo-m="click:next">›</a>
   								<a vo-m="click:end">»</a>
							</div>
							<span class="msg">总共<span name="total"></span>条,每页显示:<span name="size"></span>条</span>
						</div>
					</div>
					<div class="div-right">
						<div class="top-name">
							<span class="name">文章状态</span>
						</div>
						<div class="status" id="status">
							<ul>
								<li>类型：<span name="type"></span></li>
								<li>分类：<span name="classify"></span></li>
								<li>评论数：<span name="comments"></span></li>
								<li>阅读量：<span name="readers"></span></li>
								<li>是否可见：<span name="visiable"></span></li>
								<li>是否推荐：<span name="icommand"></span></li>
								<li>发布时间：<span name="releaseTime"></span></li>
								<li>创建时间：<span name="createTime"></span></li>
							</ul>
							<div class="button disabled" vo-m="click:command" status='icommand' name="setCommand" style="margin-left:40px;" ></div>
						</div>
					</div>
				</div>
				<script type="text/javascript">
					script.load(2);
				</script>
			</div>
		</div>
	</body>
</html>